package default1;

public class test1 {
	public static void main(String[] args) {
	    ok://如何快速跳出双重循环
	    for (int i = 0; i < 10; i++) {
	        for (int j = 0; j < 10; j++) {
	            System.out.println("i=" + i + ",j=" + j);
	            if (j == 5) {
	                break ok;
	            }

	        }
	    }
	}
}
